import $http from "../libs/request";

export const login = async (params) => {

    return await $http.request({
        url: "/login",
        method: "post",
        data: {
            username: params.username,
            password: params.password
        },


    })
}